package com.ruoyi.project.cms.pro.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;


import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CmsProInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;
    /**
    * 项目id
    */
    private Integer pid;

    /**
    * 项目名称
    */
    private String pname;

    /**
    * 项目编号
    */
    private String pcode;

    /**
    * 创建人
    */
    private String stater;

    /**
    * 项目负责人
    */
    private String head;

    /**
    * 项目金额
    */
    private String pmoney;

    /**
    * 项目周期
    */
    private String pcycle;

    /**
    * 客户编号
    */
    private String ccode;

    /**
    * 客户公司
    */
    private String ccompany;

    /**
    * 客户类型
    */
    private String ckind;

    /**
    * 客户
    */
    private String customer;

    /**
    * 客户职位
    */
    private String cposition;

    /**
    * 客户电话
    */
    private String cphone;

    /**
    * 客户备注
    */
    private String cdesc;

    /**
    * 项目内容
    */
    private String pcontent;

    /**
    * 项目风格
    */
    private String pstyle;

    /**
    * 项目类型
    */
    private String pkind;

    /**
    * 项目类别
    */
    private String ptype;

    /**
    * 项目状态
    */
    private String pstate;

    /**
    * 项目订立时间
    */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    /**
    * 项目完成时间
    */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endtime;

    /**
    * 项目备注
    */
    private String pdesc;

    /**
    * 产品编号
    */
    private String tcode;

    /**
    * 产品名称
    */
    private String tname;

    /**
    * 数量
    */
    private Integer tnum;

    /**
    * 单位
    */
    private String tunit;

    /**
    * 单价
    */
    private String unitprice;

    /**
    * 总额
    */
    private String ttotal;

    /**
    * 产品备注
    */
    private String tdesc;

    /**
    * 客户信息（下载）
    */
    private String cinfo;

    /**
    * 附加信息
    */
    private String ps;

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public String getStater() {
        return stater;
    }

    public void setStater(String stater) {
        this.stater = stater;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getPmoney() {
        return pmoney;
    }

    public void setPmoney(String pmoney) {
        this.pmoney = pmoney;
    }

    public String getPcycle() {
        return pcycle;
    }

    public void setPcycle(String pcycle) {
        this.pcycle = pcycle;
    }

    public String getCcode() {
        return ccode;
    }

    public void setCcode(String ccode) {
        this.ccode = ccode;
    }

    public String getCcompany() {
        return ccompany;
    }

    public void setCcompany(String ccompany) {
        this.ccompany = ccompany;
    }

    public String getCkind() {
        return ckind;
    }

    public void setCkind(String ckind) {
        this.ckind = ckind;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public String getCposition() {
        return cposition;
    }

    public void setCposition(String cposition) {
        this.cposition = cposition;
    }

    public String getCphone() {
        return cphone;
    }

    public void setCphone(String cphone) {
        this.cphone = cphone;
    }

    public String getCdesc() {
        return cdesc;
    }

    public void setCdesc(String cdesc) {
        this.cdesc = cdesc;
    }

    public String getPcontent() {
        return pcontent;
    }

    public void setPcontent(String pcontent) {
        this.pcontent = pcontent;
    }

    public String getPstyle() {
        return pstyle;
    }

    public void setPstyle(String pstyle) {
        this.pstyle = pstyle;
    }

    public String getPkind() {
        return pkind;
    }

    public void setPkind(String pkind) {
        this.pkind = pkind;
    }

    public String getPtype() {
        return ptype;
    }

    public void setPtype(String ptype) {
        this.ptype = ptype;
    }

    public String getPstate() {
        return pstate;
    }

    public void setPstate(String pstate) {
        this.pstate = pstate;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public String getPdesc() {
        return pdesc;
    }

    public void setPdesc(String pdesc) {
        this.pdesc = pdesc;
    }

    public String getTcode() {
        return tcode;
    }

    public void setTcode(String tcode) {
        this.tcode = tcode;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public Integer getTnum() {
        return tnum;
    }

    public void setTnum(Integer tnum) {
        this.tnum = tnum;
    }

    public String getTunit() {
        return tunit;
    }

    public void setTunit(String tunit) {
        this.tunit = tunit;
    }

    public String getUnitprice() {
        return unitprice;
    }

    public void setUnitprice(String unitprice) {
        this.unitprice = unitprice;
    }

    public String getTtotal() {
        return ttotal;
    }

    public void setTtotal(String ttotal) {
        this.ttotal = ttotal;
    }

    public String getTdesc() {
        return tdesc;
    }

    public void setTdesc(String tdesc) {
        this.tdesc = tdesc;
    }

    public String getCinfo() {
        return cinfo;
    }

    public void setCinfo(String cinfo) {
        this.cinfo = cinfo;
    }

    public String getPs() {
        return ps;
    }

    public void setPs(String ps) {
        this.ps = ps;
    }
}